package com.daka.service;

import com.daka.entity.User;
import com.daka.vo.request.UserRegisterRequestVo;
import com.daka.vo.response.DataResponseVo;

import java.util.List;

/**
 * @author beliveli on 2016/4/6 0006.
 */
public interface UserService {
    List<User> selectAll();

    List<User> selectByParam(String roles,String key);

    DataResponseVo<User> login(User userParam);

    User selectByPhone(String userName);

    User selectById(int manageId);

    int updatePasswordById(User user);

    User saveUser(User userParam);

    DataResponseVo<User> updateUser(User userParam);

    String sendVerifierCode(String mobile);

    Boolean checkVerifierCode(String mobile, String code);
}
